home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998…tember: Reference Library / Dev.CD Sep 98 RL1.toast / Technical Documentation / develop / develop Issue 24 / develop Issue 24 code / Scriptable Database 1.0a15.sea / Scriptable Database 1.0a15 / Scripting / CoreSuite.h < prev    next >
MacBinary  |  1996-02-19  |  2.0 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Mon Feb 19 22:37:07 1996, modified Mon Feb 19 22:37:07 1996, creator 'CWIE', type ASCII, 1151 bytes "CoreSuite.h" , at 0x4ff 681 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 43 6f 72 65 53 75 | 69 74 65 2e 68 00 00 00 |..CoreSu|ite.h...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 04 7f 00 | 00 02 a9 ad 4e f2 63 ad |........|....N.c.|
|00000060| 4e f2 63 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |N.c.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 4a fd 00 00 |........|....J...|
|00000080| 2f 2a 0d 09 46 69 6c 65 | 3a 09 09 43 6f 72 65 53 |/*..File|:..CoreS|
|00000090| 75 69 74 65 2e 68 0d 0d | 09 43 6f 6e 74 61 69 6e |uite.h..|.Contain|
|000000a0| 73 3a 09 49 6e 74 65 72 | 66 61 63 65 20 66 6f 72 |s:.Inter|face for|
|000000b0| 20 54 43 6f 72 65 53 75 | 69 74 65 0d 0d 09 57 72 | TCoreSu|ite...Wr|
|000000c0| 69 74 74 65 6e 20 62 79 | 3a 09 47 72 65 67 20 41 |itten by|:.Greg A|
|000000d0| 6e 64 65 72 73 6f 6e 0d | 0d 09 43 6f 70 79 72 69 |nderson.|..Copyri|
|000000e0| 67 68 74 3a 09 a9 20 31 | 39 39 33 2d 31 39 39 34 |ght:.. 1|993-1994|
|000000f0| 20 62 79 20 41 70 70 6c | 65 20 43 6f 6d 70 75 74 | by Appl|e Comput|
|00000100| 65 72 2c 20 49 6e 63 2e | 2c 20 61 6c 6c 20 72 69 |er, Inc.|, all ri|
|00000110| 67 68 74 73 20 72 65 73 | 65 72 76 65 64 2e 0d 0d |ghts res|erved...|
|00000120| 09 09 20 3c 32 3e 09 20 | 20 34 2f 36 2f 39 34 09 |.. <2>. | 4/6/94.|
|00000130| 6d 6f 73 73 09 0d 2a 2f | 0d 23 70 72 61 67 6d 61 |moss..*/|.#pragma|
|00000140| 20 6f 6e 63 65 0d 0d 23 | 69 66 6e 64 65 66 20 5f | once..#|ifndef _|
|00000150| 5f 43 4f 52 45 53 55 49 | 54 45 5f 5f 0d 23 64 65 |_CORESUI|TE__.#de|
|00000160| 66 69 6e 65 20 5f 5f 43 | 4f 52 45 53 55 49 54 45 |fine __C|ORESUITE|
|00000170| 5f 5f 0d 0d 23 64 65 66 | 69 6e 65 20 6b 41 45 44 |__..#def|ine kAED|
|00000180| 75 70 6c 69 63 61 74 65 | 09 27 64 75 70 6c 27 0d |uplicate|.'dupl'.|
|00000190| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 54 79 70 65 73 |.#includ|e <Types|
|000001a0| 2e 68 3e 0d 0d 63 6c 61 | 73 73 20 54 41 45 76 65 |.h>..cla|ss TAEve|
|000001b0| 6e 74 3b 0d 63 6c 61 73 | 73 20 54 45 76 65 6e 74 |nt;.clas|s TEvent|
|000001c0| 48 61 6e 64 6c 65 72 54 | 61 62 6c 65 3b 0d 0d 63 |HandlerT|able;..c|
|000001d0| 6c 61 73 73 20 54 43 6f | 72 65 53 75 69 74 65 0d |lass TCo|reSuite.|
|000001e0| 09 7b 0d 70 75 62 6c 69 | 63 3a 0d 09 73 74 61 74 |.{.publi|c:..stat|
|000001f0| 69 63 20 76 6f 69 64 20 | 49 6e 73 74 61 6c 6c 41 |ic void |InstallA|
|00000200| 45 48 61 6e 64 6c 65 72 | 73 28 54 45 76 65 6e 74 |EHandler|s(TEvent|
|00000210| 48 61 6e 64 6c 65 72 54 | 61 62 6c 65 26 29 3b 0d |HandlerT|able&);.|
|00000220| 09 0d 09 2f 2f 20 65 76 | 65 6e 74 20 68 61 6e 64 |...// ev|ent hand|
|00000230| 6c 65 72 73 0d 0d 70 72 | 6f 74 65 63 74 65 64 3a |lers..pr|otected:|
|00000240| 0d 0d 09 73 74 61 74 69 | 63 20 70 61 73 63 61 6c |...stati|c pascal|
|00000250| 20 4f 53 45 72 72 20 44 | 6f 45 78 69 73 74 73 28 | OSErr D|oExists(|
|00000260| 54 41 45 76 65 6e 74 26 | 20 61 65 2c 20 54 41 45 |TAEvent&| ae, TAE|
|00000270| 76 65 6e 74 26 20 72 65 | 70 6c 79 2c 20 6c 6f 6e |vent& re|ply, lon|
|00000280| 67 20 68 52 65 66 63 6f | 6e 29 3b 0d 09 73 74 61 |g hRefco|n);..sta|
|00000290| 74 69 63 20 70 61 73 63 | 61 6c 20 4f 53 45 72 72 |tic pasc|al OSErr|
|000002a0| 20 44 6f 47 65 74 44 61 | 74 61 28 54 41 45 76 65 | DoGetDa|ta(TAEve|
|000002b0| 6e 74 26 20 61 65 2c 20 | 54 41 45 76 65 6e 74 26 |nt& ae, |TAEvent&|
|000002c0| 20 72 65 70 6c 79 2c 20 | 6c 6f 6e 67 20 68 52 65 | reply, |long hRe|
|000002d0| 66 63 6f 6e 29 3b 0d 09 | 73 74 61 74 69 63 20 70 |fcon);..|static p|
|000002e0| 61 73 63 61 6c 20 4f 53 | 45 72 72 20 44 6f 53 65 |ascal OS|Err DoSe|
|000002f0| 74 44 61 74 61 28 54 41 | 45 76 65 6e 74 26 20 61 |tData(TA|Event& a|
|00000300| 65 2c 20 54 41 45 76 65 | 6e 74 26 20 72 65 70 6c |e, TAEve|nt& repl|
|00000310| 79 2c 20 6c 6f 6e 67 20 | 68 52 65 66 63 6f 6e 29 |y, long |hRefcon)|
|00000320| 3b 0d 09 73 74 61 74 69 | 63 20 70 61 73 63 61 6c |;..stati|c pascal|
|00000330| 20 4f 53 45 72 72 20 44 | 6f 47 65 74 44 61 74 61 | OSErr D|oGetData|
|00000340| 53 69 7a 65 28 54 41 45 | 76 65 6e 74 26 20 61 65 |Size(TAE|vent& ae|
|00000350| 2c 20 54 41 45 76 65 6e | 74 26 20 72 65 70 6c 79 |, TAEven|t& reply|
|00000360| 2c 20 6c 6f 6e 67 20 68 | 52 65 66 63 6f 6e 29 3b |, long h|Refcon);|
|00000370| 0d 09 73 74 61 74 69 63 | 20 70 61 73 63 61 6c 20 |..static| pascal |
|00000380| 4f 53 45 72 72 20 44 6f | 4e 65 77 45 6c 65 6d 65 |OSErr Do|NewEleme|
|00000390| 6e 74 28 54 41 45 76 65 | 6e 74 26 20 61 65 2c 20 |nt(TAEve|nt& ae, |
|000003a0| 54 41 45 76 65 6e 74 26 | 20 72 65 70 6c 79 2c 20 |TAEvent&| reply, |
|000003b0| 6c 6f 6e 67 20 68 52 65 | 66 63 6f 6e 29 3b 0d 09 |long hRe|fcon);..|
|000003c0| 73 74 61 74 69 63 20 70 | 61 73 63 61 6c 20 4f 53 |static p|ascal OS|
|000003d0| 45 72 72 20 44 6f 4e 75 | 6d 62 65 72 4f 66 45 6c |Err DoNu|mberOfEl|
|000003e0| 65 6d 65 6e 74 73 28 54 | 41 45 76 65 6e 74 26 20 |ements(T|AEvent& |
|000003f0| 61 65 2c 20 54 41 45 76 | 65 6e 74 26 20 72 65 70 |ae, TAEv|ent& rep|
|00000400| 6c 79 2c 20 6c 6f 6e 67 | 20 68 52 65 66 63 6f 6e |ly, long| hRefcon|
|00000410| 29 3b 0d 09 0d 09 73 74 | 61 74 69 63 20 70 61 73 |);....st|atic pas|
|00000420| 63 61 6c 20 4f 53 45 72 | 72 20 44 6f 43 6f 6d 6d |cal OSEr|r DoComm|
|00000430| 61 6e 64 28 54 41 45 76 | 65 6e 74 26 20 61 65 2c |and(TAEv|ent& ae,|
|00000440| 20 54 41 45 76 65 6e 74 | 26 20 72 65 70 6c 79 2c | TAEvent|& reply,|
|00000450| 20 6c 6f 6e 67 20 68 52 | 65 66 63 6f 6e 29 3b 09 | long hR|efcon);.|
|00000460| 0d 09 73 74 61 74 69 63 | 20 70 61 73 63 61 6c 20 |..static| pascal |
|00000470| 4f 53 45 72 72 20 44 6f | 4f 70 65 6e 28 54 41 45 |OSErr Do|Open(TAE|
|00000480| 76 65 6e 74 26 20 61 65 | 2c 20 54 41 45 76 65 6e |vent& ae|, TAEven|
|00000490| 74 26 20 72 65 70 6c 79 | 2c 20 6c 6f 6e 67 20 68 |t& reply|, long h|
|000004a0| 52 65 66 63 6f 6e 29 3b | 09 0d 09 73 74 61 74 69 |Refcon);|...stati|
|000004b0| 63 20 70 61 73 63 61 6c | 20 4f 53 45 72 72 20 44 |c pascal| OSErr D|
|000004c0| 6f 4d 6f 76 65 28 54 41 | 45 76 65 6e 74 26 20 61 |oMove(TA|Event& a|
|000004d0| 65 2c 20 54 41 45 76 65 | 6e 74 26 20 72 65 70 6c |e, TAEve|nt& repl|
|000004e0| 79 2c 20 6c 6f 6e 67 20 | 68 52 65 66 63 6f 6e 29 |y, long |hRefcon)|
|000004f0| 3b 09 0d 09 7d 3b 0d 0d | 23 65 6e 64 69 66 0d 00 |;...};..|#endif..|
|00000500| 00 00 01 00 00 00 02 43 | 00 00 01 43 00 00 00 66 |.......C|...C...f|
|00000510| 00 00 0d c9 04 51 75 69 | 74 81 02 00 00 00 54 45 |.....Qui|t.....TE|
|00000520| 58 54 4d 50 53 20 01 00 | 00 9c 00 40 00 00 00 00 |XTMPS ..|...@....|
|00000530| 0b 43 6f 72 65 53 75 69 | 74 65 2e 68 02 00 00 00 |.CoreSui|te.h....|
|00000540| 54 45 58 54 43 57 49 45 | 01 00 00 00 0a 96 00 00 |TEXTCWIE|........|
|00000550| 00 00 54 45 58 54 43 57 | 49 45 01 00 00 00 0a 96 |..TEXTCW|IE......|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 a7 df f2 4a 00 00 | 04 7f 00 00 02 a9 00 00 |.....J..|........|
|00000580| 0c 00 00 00 0d c9 06 52 | 65 73 75 6d 65 b4 02 00 |.......R|esume...|
|00000590| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 9c 00 80 |..TEXTMP|S ......|
|000005a0| 00 00 00 00 0f a7 00 00 | 00 00 01 67 00 00 06 00 |........|...g....|
|000005b0| 00 00 00 00 01 da 00 00 | 06 00 a3 65 82 b0 a3 65 |........|...e...e|
|000005c0| 82 b0 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 33 dd 00 01 00 00 00 00 |........|3.......|
|000005e0| 00 00 00 00 33 de 00 01 | 00 00 00 00 00 00 00 00 |....3...|........|
|000005f0| 00 00 00 00 0e 00 00 00 | 0d c9 08 52 4f 4d 20 4d |........|...ROM M|
|00000600| 00 00 00 1e 00 2b 00 04 | 03 61 02 24 00 2b 00 04 |.....+..|.a.$.+..|
|00000610| 03 61 02 24 00 00 00 00 | 00 00 00 00 00 00 00 00 |.a.$....|........|
|00000620| 00 00 00 00 00 c9 eb 60 | 5e 92 3f e5 32 30 00 04 |.......`|^.?.20..|
|00000630| 00 00 00 01 00 00 00 00 | ab 6f c3 c5 ab 6f c3 c5 |........|.o...o..|
|00000640| a8 84 82 c3 00 16 c1 9c | 00 02 00 16 00 03 18 42 |........|.......B|
|00000650| 61 6e 7a 61 69 ba 53 6f | 75 72 63 65 ba 53 63 72 |anzai.So|urce.Scr|
|00000660| 69 70 74 69 6e 67 ba 00 | 0d 47 72 65 67 20 41 6e |ipting..|.Greg An|
|00000670| 64 65 72 73 6f 6e 00 01 | 32 00 0b 43 6f 72 65 53 |derson..|2..CoreS|
|00000680| 75 69 74 65 2e 68 00 00 | 00 00 63 70 61 73 73 20 |uite.h..|..cpass |
|00000690| 54 41 45 76 65 6e 74 27 | 73 20 62 79 20 61 64 64 |TAEvent'|s by add|
|000006a0| 72 65 73 73 20 65 78 70 | 6c 69 63 69 74 6c 79 20 |ress exp|licitly |
|000006b0| 73 6f 20 74 68 61 74 20 | 63 6f 6d 70 69 6c 65 72 |so that |compiler|
|000006c0| 73 20 77 68 6f 20 69 67 | 6e 6f 72 65 20 74 68 65 |s who ig|nore the|
|000006d0| 20 70 61 73 63 61 6c 20 | 6b 65 79 77 6f 72 64 20 | pascal |keyword |
|000006e0| 77 6f 72 6b 20 28 78 6c | 43 2c 20 4d 57 29 00 00 |work (xl|C, MW)..|
|000006f0| 00 00 48 00 09 4d 6f 6e | 61 63 6f 00 00 00 00 00 |..H..Mon|aco.....|
|00000700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000710| 00 00 00 00 00 00 03 00 | 04 00 77 00 7e 02 ee 03 |........|..w.~...|
|00000720| 84 00 77 00 7e 02 ee 03 | 84 ad 3d 45 6b 00 00 01 |..w.~...|..=Ek...|
|00000730| 2b 00 00 01 32 00 00 00 | 00 01 00 00 00 00 04 00 |+...2...|........|
|00000740| 01 00 01 00 00 01 00 00 | 00 02 43 00 00 01 43 00 |........|..C...C.|
|00000750| 00 00 66 02 9b 37 60 22 | e4 00 00 00 1c 00 66 00 |..f..7`"|......f.|
|00000760| 02 4d 50 53 52 00 01 00 | 1a 63 6b 69 64 00 00 00 |.MPSR...|.ckid...|
|00000770| 32 4d 57 42 42 00 00 00 | 3e 03 f0 ff ff 00 00 00 |2MWBB...|>.......|
|00000780| 00 00 00 00 00 03 ed ff | ff 00 00 00 ef 00 00 00 |........|........|
|00000790| 00 00 80 ff ff 00 00 00 | 22 00 00 00 00 03 f0 ff |........|".......|
|000007a0| ff 00 00 01 3b 00 00 00 | 00 00 00 00 00 00 00 00 |....;...|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+